<div id="aside" class="box">
      <!-- /padding -->
      <ul class="box">
      <?php 
      	$tmpCI = &get_instance();
      	$userid = $tmpCI->session->userdata("userid");
      ?>
	  <?php 
				
				if($tmpCI->session->userdata("usertype")!= 4){
			?>
        <li><a id="submenu-active" href="<?php echo base_url("index.php/scheduling/listscheduling/".$userid);?>">List My Scheduling</a></li>
		<?php } ?>
          <?php 
				
				if($tmpCI->session->userdata("usertype")== 4){
			?>
        <li><a href="<?php echo base_url("index.php/scheduling/autoscheduling");?>">Auto Scheduling</a></li>
      		<?php 
				}
     		 ?>
        <li><a href="<?php echo base_url("index.php/scheduling/search");?>">Search Scheduling</a></li>

      </ul>
</div>